package cn.edu.bjtu.core;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
 * Created by alex on 17/6/16.
 */
public abstract class LoggerSupport {
    protected Logger logger  = LoggerFactory.getLogger(this.getClass());
    protected void logException(Throwable t) {
        logger.info("Exception occurs: {}",t.getMessage(),t);
    }
}

